import Vue from 'vue'
import App from './App.vue'
import router from './router'
import test from '@/index'
import utils from '../packages/utils/utils'
import '../packages/utils/preventReClick'
import store from './store'
import 'babel-polyfill'

Vue.prototype.$utils = utils
import eventBus from '../packages/utils/eventBus'
Vue.prototype.$eventBus = eventBus
import request from '../packages/utils/request'
import '../packages/utils/btnPermission'
Vue.prototype.$api = request
Vue.prototype.$store = store
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)
Vue.use(test)
Vue.config.productionTip = false
new Vue({
    router,
    render: h => h(App)
}).$mount('#app')